import Vue from "vue"
import App from "./App"
import "./uni.promisify.adaptor"

import store from "./store/index"
import mrouter from "./util/router"
import * as apis from "@/util/api"

Vue.config.productionTip = false
Vue.prototype.$http = apis
Vue.prototype.$store = store
Vue.prototype.$mrouter = mrouter

App.mpType = "app"

const app = new Vue({
  ...App,
  store,
})

app.$mount()
